package com.northpool.operator.bean;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.io.Serializable;

@XmlRootElement(name = "dataset")
@XmlAccessorType(XmlAccessType.FIELD)
public class DatasetBean implements Serializable {
    @XmlElement(name = "dataSourceId")
    String dataSourceId;
    @XmlElement(name = "tableName")
    String tableName;
    @XmlElement(name = "sqlFilter")
    String sqlFilter;
    @XmlElement(name = "fields")
    String fields;
    @XmlElement(name = "spatialFilter")
    String spatialFilter;

    public String getDataSourceId() {
        return dataSourceId;
    }
    public void setDataSourceId(String dataSourceId) {
        this.dataSourceId = dataSourceId;
    }

    public String getTableName() {
        return tableName;
    }
    public void setTableName(String tableName) {
        this.tableName = tableName;
    }
    public String getSqlFilter() {
        return sqlFilter;
    }
    public void setSqlFilter(String sqlFilter) {
        this.sqlFilter = sqlFilter;
    }

    public String getFields() {
        return fields;
    }
    public void setFields(String fields) {
        this.fields = fields;
    }

    public String getSpatialFilter() {
        return spatialFilter;
    }

    public void setSpatialFilter(String spatialFilter) {
        this.spatialFilter = spatialFilter;
    }
}
